package com.ruoyi.fetv.controller.vo.navigation;

import com.ruoyi.common.core.domain.ServiceRequireFiled;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.NotNull;

/**
 * @ClassName AddReq
 * @Description
 * @Author 15014
 * @Time 2023/3/7 12:34
 * @Version 1.0
 */
@Data
@Getter
@ApiModel(value = "FetvNavigationContextAddReq", description = "栏目对象fetv_navigation_context的addReq")
public class AddReq extends ServiceRequireFiled {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", hidden = true)
    private Long id;
    /**
     * 父栏目id
     */
    @ApiModelProperty(value = "父栏目id", required = true)
    private Long parentId;

    /**
     * 栏目标题
     */
    @ApiModelProperty(value = "栏目标题", required = true)
    @NotNull(message = "栏目标题不能为空")
    private String navigationName;

    /**
     * 是否主菜
     */
    @ApiModelProperty(value = "是否主菜", required = true)
    @NotNull(message = "是否主菜不能为空")
    private Long isPrimary;

    /**
     * 模块分类(字典)
     */
    @ApiModelProperty(value = "模块分类(字典)", required = true)
    @NotNull(message = "模块分类不能为空")
    private Long moduleClassify;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Long sort;

    /**
     * 图标
     */
    @ApiModelProperty(value = "图标")
    private String icon;

    /**
     * 是否推荐（0否 1是）
     */
    @ApiModelProperty(value = "是否推荐（0否1是）")
    private Long isRecommend;

    /**
     * 跳转方式(字典）
     */
    @ApiModelProperty(value = "跳转方式(字典）")
    @NotNull(message = "跳转方式不能为空")
    private Long jumpMode;

    /**
     * 状态（0正常 1停用）
     */
    @ApiModelProperty(value = "状态（0正常1停用）")
    private String status;
}
